<?php
$ch = curl_init();
$time_s = microtime(true);

curl_setopt($ch, CURLOPT_URL, "http://www.baidu.com");
curl_setopt($ch, CURLOPT_HEADER, false);
//curl_setopt($ch, CURLOPT_RANGE, '0-3,10-15');
curl_exec($ch);
curl_close($ch);

echo "\n";
echo microtime(true)-$time_s;
echo "\n";
